package com.meizi.lushi.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.meizi.core.tool.api.PageUtils;
import com.meizi.core.tool.api.Query;
import com.meizi.lushi.dao.InSkillDao;
import com.meizi.lushi.entity.InSkillEntity;
import com.meizi.lushi.service.InSkillService;


@Service("inSkillService")
public class InSkillServiceImpl extends ServiceImpl<InSkillDao, InSkillEntity> implements InSkillService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<InSkillEntity> page = this.page(
                new Query<InSkillEntity>().getPage(params),
                new QueryWrapper<InSkillEntity>()
        );

        return new PageUtils(page);
    }

}